Skip to content

Updates logr, zapr, packet logr, bmclib dependencies#113

Closed
joelrebel wants to merge 2 commits intomainfrom
logr-bmclib-update
Closed

Updates logr, zapr, packet logr, bmclib dependencies#113
joelrebel wants to merge 2 commits intomainfrom
logr-bmclib-update

Conversation

@joelrebel
Copy link
Copy Markdown
Collaborator

@joelrebel joelrebel commented Jan 25, 2022

Description

logr, zapr, packetlogr, bmclib dependencies updated

github.com/go-logr/logr v0.4.0 -> v1.2.2
github.com/go-logr/zapr v0.4.0 -> v1.2.2
github.com/bmc-toolbox/bmclib v0.4.14 -> v0.4.16
packethost/pkg/log/logr -> packethost/pkg/log/logr/v2

bmclib updated in this change because of the indirect (bmclib v0.4.14) dependency on the on logr v0.4.0.

note:
expects linked PR merged packethost/pkg#51 and tagged with log/logr/v2.0.0
once the linked PR is approved, merged and tagged, go.mod is to be updated to remove the replace directive
2a4ece9#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R44

Why is this needed

The current logr, zapr, packethost/pkg/logr depend on the older 'beta' logr package,
this change updates the logging dependencies to the current latest.

for more information see packethost/pkg#51

How are existing users impacted? What migration steps/scripts do we need?

No impact on existing users identified

github.com/go-logr/logr v0.4.0 -> v1.2.2
github.com/go-logr/zapr v0.4.0 -> v1.2.2
github.com/bmc-toolbox/bmclib v0.4.14 -> v0.4.16
packethost/pkg/log/logr -> packethost/pkg/log/logr/v2

bmclib updated in this change becuse of the indirect (bmclib v0.4.14) dependency on the on logr v0.4.0.

expects PR merge: packethost/pkg#51
@joelrebel joelrebel requested a review from nshalman January 25, 2022 14:24
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 25, 2022

Codecov Report

Merging #113 (01e6a28) into main (6b3bb36) will decrease coverage by 0.42%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   80.93%   80.50%   -0.43%     
==========================================
  Files          10       10              
  Lines         472      472              
==========================================
- Hits          382      380       -2     
- Misses         77       79       +2     
  Partials       13       13              
Impacted Files Coverage Δ
pkg/zaplog/zap.go 0.00% <0.00%> (ø)
grpc/server.go 91.66% <100.00%> (ø)
grpc/taskrunner/taskrunner.go 63.54% <0.00%> (-2.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b3bb36...01e6a28. Read the comment docs.

@jacobweinstock
Copy link
Copy Markdown
Member

Hey @joelrebel, would you mind creating this branch in a fork and resubmitting the PR? -- ref

@joelrebel
Copy link
Copy Markdown
Collaborator Author

yep, will do!

@joelrebel joelrebel closed this Jan 26, 2022
@joelrebel joelrebel deleted the logr-bmclib-update branch January 26, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants